package com.jic.market.service.rest.discountamount;

import com.jic.market.enums.FrontPromotionTypeEnum;
import com.jic.market.impl.rest.discountamount.po.GoodsPo;
import com.jic.market.impl.rest.discountamount.po.PromotionPo;
import com.jic.market.request.rest.discount.PromotionGoods;

import java.util.List;
import java.util.Map;

/**
 * @author yinhaijun
 * @date: 2020/4/9
 */
public interface PromotionGoodsService {

    Map<Long, GoodsPo> buildGoodsPoMap(List<PromotionGoods> promotionGoodsList);
    Map<Long, List<PromotionPo>> buildPromotionPoMap(Map<Long, GoodsPo> goodsPoMap, List<String> couponCodeList, String grouponPromotionCode, FrontPromotionTypeEnum frontPromotionTypeEnum);
}
